package com.example.hanchen.yongkanggy.entity;

public class StatusCode<T>{// extends  Object
    private int code;
    private String msg;
    private data data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public data getData() {
        return data;
    }

    public void setData(data data) {
        this.data = data;
    }

    public class data{
        boolean isLogin;
        String loginDevice;
        String loginId;
        String loginType;
        String sessionTimeout;
        String tag;
        int tokenActivityTimeout;
        String tokenName;
        int tokenSessionTimeout;
        Long tokenTimeout;
        String tokenValue;


        public boolean isLogin() {
            return isLogin;
        }

        public void setLogin(boolean login) {
            isLogin = login;
        }

        public String getLoginDevice() {
            return loginDevice;
        }

        public void setLoginDevice(String loginDevice) {
            this.loginDevice = loginDevice;
        }

        public String getLoginId() {
            return loginId;
        }

        public void setLoginId(String loginId) {
            this.loginId = loginId;
        }

        public String getLoginType() {
            return loginType;
        }

        public void setLoginType(String loginType) {
            this.loginType = loginType;
        }

        public String getSessionTimeout() {
            return sessionTimeout;
        }

        public void setSessionTimeout(String sessionTimeout) {
            this.sessionTimeout = sessionTimeout;
        }

        public String getTag() {
            return tag;
        }

        public void setTag(String tag) {
            this.tag = tag;
        }

        public int getTokenActivityTimeout() {
            return tokenActivityTimeout;
        }

        public void setTokenActivityTimeout(int tokenActivityTimeout) {
            this.tokenActivityTimeout = tokenActivityTimeout;
        }

        public String getTokenName() {
            return tokenName;
        }

        public void setTokenName(String tokenName) {
            this.tokenName = tokenName;
        }

        public int getTokenSessionTimeout() {
            return tokenSessionTimeout;
        }

        public void setTokenSessionTimeout(int tokenSessionTimeout) {
            this.tokenSessionTimeout = tokenSessionTimeout;
        }

        public Long getTokenTimeout() {
            return tokenTimeout;
        }

        public void setTokenTimeout(Long tokenTimeout) {
            this.tokenTimeout = tokenTimeout;
        }

        public String getTokenValue() {
            return tokenValue;
        }

        public void setTokenValue(String tokenValue) {
            this.tokenValue = tokenValue;
        }
    }
}

